using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.BusinessService.DataContract.Hastc
{
    [Serializable]
    public class STSORDERS
    {
        #region [Variables]

        private string _FLOOR_CODE;
        private string _ORDER_NO;
        private DateTime _ORDER_DATE;
        private string _ORDER_TIME;
        private decimal _MEMBER_ID;
        private decimal _ACCOUNT_ID;
        private decimal _STOCK_ID;
        private decimal _ORDER_TYPE;
        private decimal _PRIORITY;
        private decimal _OORB;
        private decimal _NORP;
        private decimal _NORC;
        private decimal _BORE;
        private decimal _AORI;
        private decimal _SETTLEMENT_TYPE;
        private decimal _DORF;
        private decimal _ORDER_QTTY;
        private decimal _ORDER_PRICE;
        private decimal _STATUS;
        private decimal _QUOTE_PRICE;
        private decimal _QUOTE_TIME;
        private decimal _QUOTE_QTTY;
        private string _ACCOUNT_NO;
        private decimal _BROKER_ID;
        private decimal _TELEPHONE;
        private string _SESSION_NO;
        private decimal _SETTLE_DAY;
        private decimal _AORC;
        private decimal _YIELDMAT;
        private string _CODE_TRADE;

        public string FLOOR_CODE
        {
            get { return _FLOOR_CODE; }
            set { _FLOOR_CODE = value; }
        }


        public string ORDER_NO
        {
            get { return _ORDER_NO; }
            set { _ORDER_NO = value; }
        }


        public DateTime ORDER_DATE
        {
            get { return _ORDER_DATE; }
            set { _ORDER_DATE = value; }
        }


        public string ORDER_TIME
        {
            get { return _ORDER_TIME; }
            set { _ORDER_TIME = value; }
        }


        public decimal MEMBER_ID
        {
            get { return _MEMBER_ID; }
            set { _MEMBER_ID = value; }
        }


        public decimal ACCOUNT_ID
        {
            get { return _ACCOUNT_ID; }
            set { _ACCOUNT_ID = value; }
        }


        public decimal STOCK_ID
        {
            get { return _STOCK_ID; }
            set { _STOCK_ID = value; }
        }


        public decimal ORDER_TYPE
        {
            get { return _ORDER_TYPE; }
            set { _ORDER_TYPE = value; }
        }


        public decimal PRIORITY
        {
            get { return _PRIORITY; }
            set { _PRIORITY = value; }
        }


        public decimal OORB
        {
            get { return _OORB; }
            set { _OORB = value; }
        }


        public decimal NORP
        {
            get { return _NORP; }
            set { _NORP = value; }
        }


        public decimal NORC
        {
            get { return _NORC; }
            set { _NORC = value; }
        }


        public decimal BORE
        {
            get { return _BORE; }
            set { _BORE = value; }
        }


        public decimal AORI
        {
            get { return _AORI; }
            set { _AORI = value; }
        }


        public decimal SETTLEMENT_TYPE
        {
            get { return _SETTLEMENT_TYPE; }
            set { _SETTLEMENT_TYPE = value; }
        }


        public decimal DORF
        {
            get { return _DORF; }
            set { _DORF = value; }
        }


        public decimal ORDER_QTTY
        {
            get { return _ORDER_QTTY; }
            set { _ORDER_QTTY = value; }
        }


        public decimal ORDER_PRICE
        {
            get { return _ORDER_PRICE; }
            set { _ORDER_PRICE = value; }
        }


        public decimal STATUS
        {
            get { return _STATUS; }
            set { _STATUS = value; }
        }


        public decimal QUOTE_PRICE
        {
            get { return _QUOTE_PRICE; }
            set { _QUOTE_PRICE = value; }
        }


        public decimal QUOTE_TIME
        {
            get { return _QUOTE_TIME; }
            set { _QUOTE_TIME = value; }
        }


        public decimal QUOTE_QTTY
        {
            get { return _QUOTE_QTTY; }
            set { _QUOTE_QTTY = value; }
        }


        public string ACCOUNT_NO
        {
            get { return _ACCOUNT_NO; }
            set { _ACCOUNT_NO = value; }
        }


        public decimal BROKER_ID
        {
            get { return _BROKER_ID; }
            set { _BROKER_ID = value; }
        }


        public decimal TELEPHONE
        {
            get { return _TELEPHONE; }
            set { _TELEPHONE = value; }
        }


        public string SESSION_NO
        {
            get { return _SESSION_NO; }
            set { _SESSION_NO = value; }
        }


        public decimal SETTLE_DAY
        {
            get { return _SETTLE_DAY; }
            set { _SETTLE_DAY = value; }
        }


        public decimal AORC
        {
            get { return _AORC; }
            set { _AORC = value; }
        }


        public decimal YIELDMAT
        {
            get { return _YIELDMAT; }
            set { _YIELDMAT = value; }
        }


        public string CODE_TRADE
        {
            get { return _CODE_TRADE; }
            set { _CODE_TRADE = value; }
        }

        #endregion

        public STSORDERS()
        {

        }
        public STSORDERS(string flrcode, string orderno, DateTime orderdate, string time, decimal memberid, decimal accountid, decimal stockid, decimal ordertype, decimal priority, decimal oorb, decimal norp, decimal norc, decimal bore, decimal aori, decimal setttype, decimal dorf, decimal orderqtty, decimal orderprice, decimal status, decimal quoteprice, decimal quotetime, decimal quoteqtty, string accno, decimal brokerid, decimal phone, string sessionno, decimal settleday, decimal aorc, decimal yieldmat, string codetrade)
        {
            this._FLOOR_CODE = flrcode;
            this._ORDER_NO = orderno;
            this._ORDER_DATE = orderdate;
            this._ORDER_TIME = time;
            this._MEMBER_ID = memberid;
            this._ACCOUNT_ID = accountid;
            this._STOCK_ID = stockid;
            this._ORDER_TYPE = ordertype;
            this._PRIORITY = priority;
            this._OORB = oorb;
            this._NORP = norp;
            this._NORC = norc;
            this._BORE = bore;
            this._AORI = aori;
            this._SETTLEMENT_TYPE = setttype;
            this._DORF = dorf;
            this._ORDER_QTTY = orderqtty;
            this._ORDER_PRICE = orderprice;
            this._STATUS = status;
            this._QUOTE_PRICE = quoteprice;
            this._QUOTE_TIME = quotetime;
            this._QUOTE_QTTY = quoteqtty;
            this._ACCOUNT_NO = accno;
            this._BROKER_ID = brokerid;
            this._TELEPHONE = phone;
            this._SESSION_NO = sessionno;
            this._SETTLE_DAY = settleday;
            this._AORC = aorc;
            this._YIELDMAT = yieldmat;
            this._CODE_TRADE = codetrade;        
        }
    }
}

